package day05home;
//声明、初始化、访问、遍历
public class ArrayDemo {
    public static void main(String[] args) {
        int[] arr1=new int[10];
        int[] arr2={1,2,3};
        int[] arr3;
        arr3=new int[]{1,3,4};
        arr3[0]=3;
        arr3[1]=5;
        for (int i = 0; i < arr1.length; i++) {
            arr1[i]=(int)(Math.random()*100);
            System.out.println(arr1[i]);
        }


    }
}
